<!DOCTYPE html>
<html lang="UTF-8" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" th:href="@{/static/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/static/css/font-awesome.min.css}">
    <link rel="stylesheet" th:href="@{/static/css/login.css}">
    <script type="text/javascript" th:src="@{/static/jquery/jquery-2.1.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/static/bootstrap/js/bootstrap.min.js}"></script>
</head>

<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <div><a class="navbar-brand" href="index.html" style="font-size:32px;">尚筹网-创意产品众筹平台</a></div>
        </div>
    </div>
</nav>

<div class="container">

<!--    <form th:action="@{/admin/do/login.html}" class="form-signin" role="form" method="post">-->
    <form th:action="@{/security/do/login.html}" class="form-signin" role="form" method="post">
        <h2 class="form-signin-heading"><i class="glyphicon glyphicon-log-in"></i> 管理员登录</h2>
        <!--/*@thymesVar id="exception" type="com.shanshan.crowd.mvc.config.CrowdExceptionResolver"*/-->
        <p th:text="${exception.message}" th:if="${not #strings.isEmpty(exception)}"></p>

        <p th:text="${session.SPRING_SECURITY_LAST_EXCEPTION.message}" th:if="${not #strings.isEmpty(session.SPRING_SECURITY_LAST_EXCEPTION)}"></p>
        <div class="form-group has-success has-feedback">
            <input type="text" name="loginAcct" class="form-control" id="inputSuccess4" placeholder="请输入登录账号" autofocus>
            <span class="glyphicon glyphicon-user form-control-feedback"></span>
        </div>

        <div class="form-group has-success has-feedback">
            <input type="text" name="userPswd" class="form-control" id="inputSuccess4" placeholder="请输入登录密码" style="margin-top:10px;">
            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
        </div>
        <input type="submit" class="btn btn-lg btn-success btn-block" value="登录">
<!--        <a class="btn btn-lg btn-success btn-block" > 登录</a>-->
    </form>
</div>

</body>
</html>